<template>
  <div>
    <h1 class="not-print-content">App</h1>

    <button @click="isShow = !isShow">切换 isShow</button>

    <!-- <Modal :show="isShow" @close="close" /> -->

    <ModalNew :show="isShow" @close="close" />
  </div>
</template>

<script setup>
import { ref } from "vue";
import Modal from "./components/Modal.vue";
import ModalNew from "./components/ModalNew.vue";

const isShow = ref(false);

function close() {
  isShow.value = false;
}
</script>
